#include "HelpState.h"

HelpState::HelpState(GameContext& gc)
	: GameState(gc)
{
}

HelpState::~HelpState()
{
}

void HelpState::Load()
{
	mBackground.Load("helpmenu.png");
}

void HelpState::Unload()
{
	mBackground.Unload();

}

NextState HelpState::Update(float deltaTime)
{


	NextState nextState = None;
	if(Input_IsKeyPressed(Keys::ESCAPE))
	{
		nextState = Frontend;
	}

	return nextState;
}

void HelpState::Render()
{
	mBackground.Render();
}